package com.csu.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csu.mall.common.dto.BrandTo;
import com.csu.mall.product.entity.BrandEntity;
import com.csu.mall.product.vo.BrandVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌
 * 
 * @author zhenhuanli
 * @email 743879362@qq.com
 * @date 2022-09-16 11:42:54
 */
@Mapper
public interface BrandDao extends BaseMapper<BrandEntity> {

    List<BrandVo> selectBrands(Long catelogId);

    List<BrandTo> selectBrandTos(@Param("brandIds") List<Long> brandIds);

}
